<div id="menu_atas">
    <?php
    $hm = array(
        'alt' => 'Home'
    );

    $pro = array(
        'alt' => 'Profile'
    );

    $us = array(
        'alt' => 'user'
    );

    $rek = array(
         'alt' => 'Rekap Nilai'
    );

    $log = array(
        'alt' => 'Logout'
    );

    echo anchor('home', '<img class="hoverImages" src="'.base_url().'themes/images/menu_atas/home.png" title="Home">', $hm);
    echo anchor('home/profile', '<img class="hoverImages" src="'.base_url().'themes/images/menu_atas/profile.png" title="Profile">', $pro);
    echo anchor('home/user', '<img class="hoverImages" src="'.base_url().'themes/images/menu_atas/user.png" title="User">', $us);
    echo anchor('home/rekap_nilai', '<img class="hoverImages" src="'.base_url().'themes/images/menu_atas/rekap_nilai.png" title="Rekap Nilai">', $rek);
    echo anchor('home/logout', '<img class="hoverImages" src="'.base_url().'themes/images/menu_atas/logout.png" title="Logout">',array('onclick'=>"return confirm('anda yakin akan keluar?')"), $log);
    ?>
</div>